<?php
/*
    代理关系维护
*/
class RelationController extends AdminController {
    /*
        actionIndex  代理列表
        actionConfirm   代理审核
    */
	public $modelName = 'AgentRelated';
	
	public function outerActions() {
		return array_merge(parent::outerActions(), array(
			'admin' => 'actions.agent.admin',
			'edit' => 'actions.agent.relation.edit',
			'view' => 'actions.agent.relation.view',
			'commit' => 'actions.audit.commit',
			'passed' => 'actions.audit.passed',
			'unpassed' => 'actions.audit.unpassed'
		));
	}
}
?>